package com.giaothong.http.core;

public interface HttpAsyncCallback<T> {
	/**
	 * Call when request to server finished.
	 * 
	 * @param requestCode Connection ID of request
	 * @param resultCode Result code of response. Success, fail...
	 * @param result Data get from server (almost use as JSON)
	 */
	public void onTaskComplete(HttpConnectionId requestCode, HttpResult resultCode, T result);

}
